﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UFIDA.U9.Cust.YYD.PlugBE.Dtos
{
    public class DataOptionsItem
    {

        public string content { get; set; }

        public string optionId { get; set; }

        public string type { get; set; }
    }

    public class DataDetailsItem
    {

        public List<DataOptionsItem> dataOptions { get; set; }

        public string content { get; set; }
        public int dataIndex { get; set; }
        public string dataKey { get; set; }
        public string subFormId { get; set; }
    }

    public class FormData
    {

        public List<DataDetailsItem> dataDetails { get; set; }

        public string formId { get; set; }

        public string module { get; set; } = "workflow";
    }

    public class OtherParams
    {

        public string isnextflow { get; set; }
    }

    public class OADTO
    {

        public string access_token { get; set; }

        public string userid { get; set; }

        public string workflowId { get; set; }

        public FormData formData { get; set; }

        public OtherParams otherParams { get; set; }
    }

    public class OAUpdateDTO
    {

        public string access_token { get; set; }

        public string userid { get; set; }

        public string requestId { get; set; }

        public FormData formData { get; set; }


    }

}
